/*
 * 
 */
package siml;

import java.sql.Connection;
import org.openswing.swing.mdi.client.ClientFacade;
import org.openswing.swing.mdi.client.InternalFrame;
import org.openswing.swing.mdi.client.MDIFrame;
import siml.controllers.DisplayUserController;

/**
 *
 * @author sugik
 */
public class SIMLClientFacade implements ClientFacade {
    private Connection conn = null;
    public SIMLClientFacade(Connection conn) {
        this.conn = conn;
    }

    public void getUser() {
        new DisplayUserController(conn);
        /*InternalFrame f = new InternalFrame();
        f.setResizable(false);
        f.setIconifiable(false);
        f.setMaximizable(false);
        f.setSize(300, 200);
        f.setTitle("Function0");
        MDIFrame.add(f, true);*/
    }

    public void getBarang() {
        /*InternalFrame f = new InternalFrame();
        f.setResizable(false);
        f.setIconifiable(false);
        f.setMaximizable(false);
        f.setSize(300, 200);
        f.setTitle("Function1");
        MDIFrame.add(f, true);*/
    }

}